app/api/auth/[auth0]/route.js (
2
lines of code) (
raw
):
import { handleAuth } from "@auth0/nextjs-auth0"; export const GET = handleAuth();